package cn.stylefeng.guns.modular.household.pojo;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 房屋信息参数类
 *
 * @author lichenhui
 * @date 2024/03/20
 */
@Data
public class HousingInfoRequest extends BaseRequest {

    @NotNull(message = "房屋信息权属人不能为空", groups = {add.class, edit.class})
    private Long housingOwnerId;

    @NotNull(message = "房屋信息所属行政区别不能为空", groups = {add.class, edit.class})
    private String housingAddress;

    @NotNull(message = "房屋信息房屋面积不能为空", groups = {add.class, edit.class})
    private String housingArea;

}
